#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL;
using Cephei.QL.Math;
namespace Cephei.QL.Methods.Montecarlo
{
     // <summary> 
	// ! \ingroup mcarlo  \note the path includes the initial asset value as its first point.
	// </summary>
    [Guid ("96FA6C6D-10F2-41a6-8D35-5B407096656B"),ComVisible(true)]
	public interface IPath 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double At(UInt64 i);
        
		 Double Back {get;}
        
		 Boolean Empty {get;}
        
		 Double Front {get;}
        
		 UInt64 Length {get;}
        
		 Double Time(UInt64 i);
        
		 Cephei.QL.ITimeGrid TimeGrid {get;}
        
		 Double Value(UInt64 i);
    }

    // <summary> 
	// ! \ingroup mcarlo  \note the path includes the initial asset value as its first point. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IPath_Factory // : Collection_Factory<IPath, ICell<IPath>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IPath, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIPath&gt</returns>
        IVector<IPath> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IPath, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIPath&gt&gt&gt</returns>
        Generic.ICell<IVector<Generic.ICell<IPath>>> CreateCellVector();
        IVector<IPath> CreateVector(IEnumerable<IPath> source);
        Generic.ICell<IVector<Generic.ICell<IPath>>> CreateCellVector(IEnumerable<Generic.ICell<IPath>> source);
        
	    IPath Create (Cephei.QL.ITimeGrid timeGrid, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Math.IArray> values);
    }
}

